package com.yanzhenjie.andserver.sample.model;

import java.util.List;

/**
 * 作者: Tao
 * 日期: 2023/2/20
 * 时间: 14:56
 * 描述: 返回错误数据实体类
 */
public class ResponseErrorData {

    private List<ErrorMsg> errors;

    public List<ErrorMsg> getErrors() {
        return errors;
    }

    public void setErrors(List<ErrorMsg> errors) {
        this.errors = errors;
    }

    public static class ErrorMsg{
        private int status;
        private SourceMsg source;
        private String title;
        private String detail;
        private int error_code;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public SourceMsg getSource() {
            return source;
        }

        public void setSource(SourceMsg source) {
            this.source = source;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public int getError_code() {
            return error_code;
        }

        public void setError_code(int error_code) {
            this.error_code = error_code;
        }
    }

    public static class SourceMsg{
        private String Pointer;

        public String getPointer() {
            return Pointer;
        }

        public void setPointer(String pointer) {
            Pointer = pointer;
        }
    }
}
